#ifndef __MSG_H_
#define __MSG_H_

#include <stdio.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#include <errno.h>
#include <string.h>

#define LED 1
#define BEEP 2
#define LED_ON 1
#define LED_OFF 0
#define BEEP_ON 1
#define BEEP_OFF 0

typedef struct msgbuf{
    long mtype;
    int mtext;
}MSGBUF;

int msg_init(void);
typedef unsigned short int uint16_t;

#endif